package com.register_ssm.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.register_ssm.dao.InfoMapper;
import com.register_ssm.entity.Info;
@Service
public class InfoServiceImpl implements InfoService {
	@Autowired
	InfoMapper infomapper;
	public void AddInfo(Info info) {
		infomapper.AddInfo(info);
	}
	public List<Info> getAll() {
		return infomapper.selectAll();
	}
}
